package com.scpii.api.domain.ec;

import java.util.Date;

import org.codehaus.jackson.annotate.JsonIgnore;

public class Address {

	private Long addressId;

	private String title;

	private Double lati;

	private Double longi;

	@JsonIgnore
	private Date createDt;

	@JsonIgnore
	private Long createBy;

	@JsonIgnore
	private Date updateDt;

	@JsonIgnore
	private Long updateBy;

	private Long targetId;

	private String phoneNumber;

	private String addressLine;

	public Long getAddressId() {
		return addressId;
	}

	public void setAddressId(Long addressId) {
		this.addressId = addressId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title == null ? null : title.trim();
	}

	public Double getLati() {
		return lati;
	}

	public void setLati(Double lati) {
		this.lati = lati;
	}

	public Double getLongi() {
		return longi;
	}

	public void setLongi(Double longi) {
		this.longi = longi;
	}

	public Date getCreateDt() {
		return createDt;
	}

	public void setCreateDt(Date createDt) {
		this.createDt = createDt;
	}

	public Long getCreateBy() {
		return createBy;
	}

	public void setCreateBy(Long createBy) {
		this.createBy = createBy;
	}

	public Date getUpdateDt() {
		return updateDt;
	}

	public void setUpdateDt(Date updateDt) {
		this.updateDt = updateDt;
	}

	public Long getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(Long updateBy) {
		this.updateBy = updateBy;
	}

	public Long getTargetId() {
		return targetId;
	}

	public void setTargetId(Long targetId) {
		this.targetId = targetId;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber == null ? null : phoneNumber.trim();
	}

	public String getAddressLine() {
		return addressLine;
	}

	public void setAddressLine(String addressLine) {
		this.addressLine = addressLine == null ? null : addressLine.trim();
	}

	@Override
	public String toString() {
		return "Address [id=" + addressId + ", title=" + title + ", lati="
				+ lati + ", longi=" + longi + ", createDt=" + createDt
				+ ", createBy=" + createBy + ", updateDt=" + updateDt
				+ ", updateBy=" + updateBy + ", targetId=" + targetId
				+ ", phoneNumber=" + phoneNumber + ", addressLine="
				+ addressLine + "]";
	}

}